﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Forwarder.Web.Models;

namespace Forwarder.Web
{
    public static class HttpContextExtension 
    {

        public static UserContext UserData(this HttpContext cxt)
        {
            //获取 ipricipal里的用户名
            //cxt.User.Identity.Name

            return new UserContext();
        }

    }
}